package day4;

/**
 * @author joker
 * @date 2022/4/14 0014 - 17:17
 */
public class TestThread2 {
    public static void main(String[] args) {
        Window1 window1 = new Window1();
        Window2 window2=new Window2();
        Thread w1 = new Thread(window2);
        Thread w2 = new Thread(window2);
        Thread w3 = new Thread(window2);
        Thread w4 = new Thread(window2);
        w2.start();
        w1.start();
        w3.start();
        w4.start();
    }
}
